package define

type PaymentType = string

const (
	// 微信支付
	PaymentType_Wechat PaymentType = "1"
	// 支付宝支付
	PaymentType_Alipay PaymentType = "2"
	// 聚合支付
	PaymentType_JuHe PaymentType = "3"
	// 支付宝人脸支付
	PaymentType_AliMicro PaymentType = "4"
	// 支付宝扫码支付
	PaymentType_AliScan PaymentType = "5"
	// 大兴支付
	PaymentType_DaXing PaymentType = "6"
	// 抽奖赠送
	PaymentType_LuckyDraw PaymentType = "7"
	// Stripe支付
	PaymentType_Stripe PaymentType = "8"
	// 积分支付
	PaymentType_Point PaymentType = "9"
	// Stripe2支付
	PaymentType_Stripe2 PaymentType = "10"
	// 小天才支付
	PaymentType_XiaoTianCai PaymentType = "12"
	// POS机支付
	PaymentType_POS PaymentType = "13"
	// 兑换码支付
	PaymentType_RedemptionCode PaymentType = "14"
	// 15 分配给了零元购，0元创单时返回
	// 小程序支付
	PaymentType_Wapp PaymentType = "16"
)

var PaymentTypeMap = map[PaymentType]string{
	PaymentType_Wechat:         "微信",
	PaymentType_Alipay:         "支付宝",
	PaymentType_JuHe:           "聚合支付",
	PaymentType_AliMicro:       "人脸支付",
	PaymentType_AliScan:        "扫码支付",
	PaymentType_DaXing:         "大兴支付",
	PaymentType_LuckyDraw:      "抽奖赠送",
	PaymentType_Stripe:         "stripe支付",
	PaymentType_Point:          "积分支付",
	PaymentType_Stripe2:        "stripe2支付",
	PaymentType_XiaoTianCai:    "小天才支付",
	PaymentType_POS:            "POS机支付",
	PaymentType_RedemptionCode: "兑换码",
	PaymentType_Wapp:           "小程序支付",
}
